﻿using UnityEngine;
using System.Collections;

public class LaunchGame : MonoBehaviour 
{
	private float m_DelayStart;

	void Start () 
	{
		Application.LoadLevel(0);
	}

	private void Update()
	{
		m_DelayStart += Time.deltaTime;

		if(m_DelayStart >= 1f)
		{
			m_DelayStart = 0;
			Application.LoadLevel((int)GamesManager.m_ScenesID.MainMenu);
		}
	}
}
